package com.aynu.webshop.web.model;

public class Cart {
    private Integer carId;

    private Integer gId;

    private Integer uId;

    private Integer carCount;
    
    private Goods goods;
    
    private User user;

    public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getCarCount() {
        return carCount;
    }

    public void setCarCount(Integer carCount) {
        this.carCount = carCount;
    }

	@Override
	public String toString() {
		return "Cart [carId=" + carId + ", gId=" + gId + ", uId=" + uId + ", carCount=" + carCount + ", goods=" + goods
				+ ", user=" + user + "]";
	}

    
}